package Tests;

import system.BlogSystem;

public class UserStoryFacade2 {

	private BlogSystem system = BlogSystem.getInstance();
	
	public void loadData(){
		// TODO do I need to do something here? o.o'	
	}
	
	
	
	public String logon(String login, String senha) throws Exception{
		return system.login(login, senha);
	}

	public boolean isUserLogged(String login) throws Exception{
		return system.isUserLogged(login);
	}
	
	public String getProfileInformationBySessionId(String idSession, String atributo) throws Exception{
		return system.getInformationProfileBySessionId(idSession, atributo);
	}
	
	public void logoff(String idSession) throws Exception{
		system.logout(idSession);
	}
}
